﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 物料组
    /// </summary>
    [Table("T_MaterialGroup")]
    public class MaterialGroup:BaseEntity
    {
        /// <summary>
        /// 物料组编码
        /// </summary>
        [MaxLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 物料组名称
        /// </summary>
        [MaxLength(20)]
        public string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(50)]
        public string Describe { get; set; }
        /// <summary>
        /// 存储区 预留字段
        /// </summary>
        public int? AreaId { get; set; }
    }
}
